// WriteYourName 默认参数表

#include <iostream>
using namespace std;

void WriteYourName(const char* name = "Barbara", int count = 5);

int main() {
    WriteYourName();
    WriteYourName("Wayne", 3);
    WriteYourName("Mark");
}

void WriteYourName(const char* name, int count) {
    for (int i = 0; i < count; i++) {
        if (i != 0) {
            cout << ", ";
        }
        cout << name;
    }
    cout << "\n";
}
